﻿<!doctype html>
<html>
<head>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <meta name="format-detection" content="telephone=yes" />
    <meta name="msapplication-tap-highlight" content="no" />
    <meta charset="utf-8">
    <title>生成订单</title>
    <link href="../../../css/style.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="../../../js/common.js"></script>
    <script type="text/javascript" src="../../../js/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="../../../js/config.js"></script>
    <script type="text/javascript" src="../../../js/order/commit.js"></script>
    <script type="text/javascript" src="../../../js/userinfo.js" ></script>
</head>

<body>
    <div id="header">
        <span class=" tab_mune tab_a t-c">
            <div class="back" onclick="back()"><i class="icon-back"></i></div>
        </span>
        <span class=" tab_mune tab_b">
            <h2 class="hd-tit-h2">生成订单</h2>
        </span>
        <span class=" tab_mune tab_a t-c">
        </span>
    </div>


    <div id="content" class="bg-f2">
        <!------------------------------------------------------->
        <div id="afterorder" class="item-01-wrap  mt20">
            <div class="float-info-block">
                <label>抵金币:</label><span><input id="coin" type="tel" class="base-text2-inp" style="width:3em; height:1.5em; background:#f8f8f8; border:1px solid #ddd; text-align: center; border-radius: 0.2em;" value="0"> 减<em id="discount">0</em>元</span>
            </div>
        </div>
        <div class="item-01-wrap  mt20">
            <div class="float-info-block">
                <label>可用金币:</label><span id="validcoin">0</span>
            </div>
        </div>
        <div class="item-01-wrap">
            <div class="float-info-block"><label>总价:</label><span><em id="totalprice">0</em>元</span></div>
        </div>
        <div class="item-01-wrap">
            <div class="float-info-block"><label>支付方式:</label><span style="font-size:1em;"><input type="radio" name="payment" value="1" disabled="disabled" style="width:0.8em;" />线上支付 <input type="radio" name="payment" value="0" checked="checked" style="width:0.8em;"/>到店刷卡 <p style="color:#777;">线上支付暂未开启，敬请期待</p></span></div>
        </div>
        <!------------------------------------------------------->
        <div class="tips-text-block">
            您绑定的手机号码
        </div>
        <!------------------------------------------------------->
        <div class="item-01-wrap">
            <div class="float-info-block"><label id="user_mobile"></label> <span> <!--<a>绑定新手机></a>--> &nbsp;</span></div>
        </div>
        
        <!----------------------是否到店，外卖支持---------------------->
        <div class="locationdiv item-01-wrap">
            <input id="hid_is_takeaway" type="hidden" value="">
            <div class="float-info-block">
            		<label>到店消费</label><span style="font-size:1em;">
            		<input name='is_instore' type='radio' value="1"/>是&nbsp;&nbsp;
            		<input name='is_instore' type='radio' value="0" checked="checked"/>否</span>
            </div>
            <div id="addressdiv" style="display: none;" class="float-info-block"><label>外卖地址</label>
            	<span><input id="address" style="width: 90%;" placeholder="请填写外卖地址" class="bzwby"/></span>
            </div>
            <div id="desktopdiv" style="display: none;" class="float-info-block"><label>桌号</label>
            	<span><input id="desktop" type="number" style="width: 90%;" placeholder="请填当前桌号" class="bzwby"/></span>
            </div>
        </div>        

        <!---------------------------按钮---------------------------->
        <div class="item-02-wrap">
            <input type="button" class="base-btn-inp t-c" id="commitorder" value="提交订单" />
        </div>

        <!---------------------------按钮---------------------------->
    </div>

</body>
</html>
